package com.boot.main.mapper;

import com.boot.main.entity.CcomSyslog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CcomSyslogMapper {
    int saveSyslog(CcomSyslog ccomSyslog);
    List<CcomSyslog> getSyslog(@Param("currentSize") Integer currentSize, @Param("limit") Integer limit, @Param("username") String username);
    int getTotalCount();
}

